<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\SoftDeletes;

class User extends Authenticatable
{
    use SoftDeletes;

    protected $table = 'users';

    protected $fillable = [
        'name','openid','avatar'
    ];

    protected $guarded = [
        'unionid'
    ];

    protected $dates = ['deleted_at'];
}
